Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New adapter: Adhese #3384

Merged
merged 9 commits into from
Jan 11, 2019
Merged

New adapter: Adhese #3384

merged 9 commits into from
Jan 11, 2019

Conversation

mefjush
Copy link
Contributor

@mefjush mefjush commented Dec 17, 2018

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

Adds a new adapter for integration with Adhese adserver (https://adhese.com/).

  • test parameters for validating bids
{
  bidder: 'adhese',
  params: {
    account: 'demo',
    location: '_adhese_prebid_demo_',
    format: 'leaderboard',
  }
}

Be sure to test the integration with your adserver using the Hello World sample page.

  • contact email of the adapter’s maintainer dev@adhese.eu
  • official adapter submission

For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:

Other information

@mefjush mefjush changed the title Prebid Adhese adapter Dec 17, 2018
@mefjush mefjush changed the title Adhese adapter New Adhese adapter Dec 17, 2018
@mefjush mefjush changed the title New Adhese adapter New adapter: Adhese Dec 17, 2018
@bretg
Copy link
Collaborator

bretg commented Dec 20, 2018

docs PR prebid/prebid.github.io#1063

Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mefjush

Could you make some changes to the layout of the adapter file?

There are a number of what would normally be internal functions attached to the spec object (eg mergeTargets & bidToSlotName). We'd ask that you only include the expected/established functions to the spec object (see list here in the examples) and not expose these other functions.

If you have an explicit reason for structuring the file in this manner, please let us know.

@jsnellbaker
Copy link
Collaborator

@mefjush Thanks for making the updates to the various functions in the adapter file. When I was trying to test the updated adapter with the test params in the .md file, I wasn't getting any bids back from your server.

Below is a copy of the ad request's GET url:
https://ads-demo.adhese.com/json/sl_main_page_-middle/cigent;brussels/ag55/tlall?t=1546958978798

Can you take a look to see if something is amiss? Ideally we'd like to see a working test bid while reviewing new adapters to ensure the end-to-end is working fine. Thanks.

@mefjush
Copy link
Contributor Author

mefjush commented Jan 8, 2019

Hi, the params in the .md file document only the syntax. The params I provided in the Pull Request header should work fine:
{ bidder: 'adhese', params: { account: 'demo', location: '_adhese_prebid_demo_', format: 'leaderboard', } }
Do you want me to update the .md file with the "working" params?

@jsnellbaker
Copy link
Collaborator

@mefjush Thanks for clarifying that; I tried the other params and they worked fine. Would you please update the md with the working copy. If someone needs to test your adapter later, it would ideal to have the params noted in the md rather than trying to dig up an old PR.

We should be good to merge once that's updated.

@mefjush
Copy link
Contributor Author

mefjush commented Jan 11, 2019

@jsnellbaker sure makes sense, I also updated the params in the "docs" PR prebid/prebid.github.io#1063

@jsnellbaker jsnellbaker merged commit 13982d8 into prebid:master Jan 11, 2019
amuraco pushed a commit to amuraco/Prebid.js that referenced this pull request Jan 28, 2019
* Add Adhese adapter

* Support empty impressionCounters

* Fix the description

* Replace Object.entries with Object.keys

* Cleanup

* Use const instead of let

* Internal functions are no longer exposed

* Rename getter

* Use the bid parameters pointing to the existing demo position
ghost pushed a commit to devunrulymedia/Prebid.js that referenced this pull request Jan 30, 2019
* Add Adhese adapter

* Support empty impressionCounters

* Fix the description

* Replace Object.entries with Object.keys

* Cleanup

* Use const instead of let

* Internal functions are no longer exposed

* Rename getter

* Use the bid parameters pointing to the existing demo position
pedrolopezmrf pushed a commit to Marfeel/Prebid.js that referenced this pull request Mar 18, 2019
* Add Adhese adapter

* Support empty impressionCounters

* Fix the description

* Replace Object.entries with Object.keys

* Cleanup

* Use const instead of let

* Internal functions are no longer exposed

* Rename getter

* Use the bid parameters pointing to the existing demo position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants